package com.psbc.online_xdclass.mapper;

import com.psbc.online_xdclass.model.entity.Episode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EpisodeMapper {
    /**
     * 根据videoId找视频的第一集
     * @return
     */
    Episode findFirstEpisodeByVideoId(@Param("video_id") int videoId);
}
